import React, { Component } from 'react'
import {BrowserRouter} from "react-router-dom"
import RouterView from './router/RouterView'
import routerConfig from './router/routerConfig'
import {Provider} from "react-redux"
import store from "./store/index"

export class App extends Component {
  render() {
    return (
      <Provider store={store}>
          <BrowserRouter>
              <RouterView routerConfig={routerConfig}></RouterView>
          </BrowserRouter>
      </Provider>
    )
  }
}

export default App